package com.guli.gulimall.gulimallware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.common.utils.R;
import com.guli.gulimall.gulimallware.entity.PurchaseEntity;
import com.guli.gulimall.gulimallware.vo.MergeVo;
import com.guli.gulimall.gulimallware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author zouzhi
 * @email 1245268075@qq.com
 * @date 2022-04-03 15:08:09
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceived(Map<String, Object> params);

    R mergePurchase(MergeVo vo);

    R receivelist(List<Long> ids);

    R done(PurchaseDoneVo purchaseDoneVo);
}

